package org.htzb.news.dao;

import org.htzb.news.entity.Comment;

import java.sql.SQLException;
import java.util.List;

public interface CommentDao {
//    List<Comment> getCommentsByArticleId(int articleId)throws SQLException;
    List<Comment> getCommentsByNid(int nid) throws SQLException;
    void addComment(Comment comment) throws  SQLException;

}
